package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 充装信息对象 yh_filling
 *
 * @author ruoyi
 * @date 2023-02-17
 */
public class YhFilling extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idNumber;

    /** 工作单位 */
    @Excel(name = "工作单位",dictType = "yh_gas_station")
    private String workPlace;

    /** 性别 */
    @Excel(name = "性别",dictType = "sys_user_sex")
    private String sex;

    /** 工号 */
    @Excel(name = "工号")
    private String userName;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 职位 */
    @Excel(name = "职位",dictType = "yh_posts")
    private String posts;

    /** 出生日期 */
    @Excel(name = "出生日期")
    private String birth;

    /** 钢瓶瓶号 */
    @Excel(name = "钢瓶瓶号")
    private String cylinderNumber;

    /** 钢瓶状态 */
    @Excel(name = "钢瓶状态",dictType = "yh_cylinder_status")
    private String cylinderStatus;

    /** 应充介质 */
    @Excel(name = "应充介质",dictType = "yh_medium")
    private String gasMedia;

    /** 钢瓶重量 */
    @Excel(name = "钢瓶重量")
    private String weight;

    /** 钢瓶容积 */
    @Excel(name = "钢瓶容积")
    private String volume;

    /** 所属气站 */
    @Excel(name = "所属气站",dictType = "yh_gas_station")
    private String belongingGasStation;

    /** 钢瓶生产日期 */
    @Excel(name = "钢瓶生产日期")
    private String manufactureDate;

    /** 钢瓶报废日期 */
    @Excel(name = "钢瓶报废日期")
    private String scrapDate;

    /** 气瓶制造单位 */
    @Excel(name = "气瓶制造单位")
    private String manufacturingUnits;

    /** 充装气站 */
    @Excel(name = "充装气站",dictType = "yh_gas_station")
    private String fillingStation;

    /** 充装介质 */
    @Excel(name = "充装介质",dictType = "yh_medium")
    private String fillingMedium;

    /** 充装时间 */
/*    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "充装时间", width = 30, dateFormat = "yyyy-MM-dd")*/
    private Date fillingTime;

    /** 气瓶检测时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "气瓶检测时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inspectionTime;

    /** 下次检测时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下次检测时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date nextInspectionTime;

    /** 充装压力 */
    @Excel(name = "充装压力")
    private String fillingPressure;

    /** 充装温度 */
    @Excel(name = "充装温度")
    private String fillingTemperature;

    /** 有无异常情况 */
    @Excel(name = "有无异常情况",readConverterExp = "0=有,1=无")
    private String anomalies;

    /** 运输车辆 */
    @Excel(name = "运输车辆")
    private String transportVehicles;

    /** 用户ID */
//    @Excel(name = "用户ID")
    private Long userId;

    /** 单位ID */
//    @Excel(name = "单位ID")
    private Long deptId;

    /** 备注1 */
    @Excel(name = "充装时间")
    private String note1;

    /** 备注2 */
//    @Excel(name = "备注2")
    private String note2;

    /** 备注3 */
//    @Excel(name = "备注3")
    private String note3;

    /** 备注4 */
//    @Excel(name = "备注4")
    private String note4;

    /** 备注5 */
//    @Excel(name = "备注5")
    private String note5;
    /** 瓶体完好程度 */
    @Excel(name = "瓶体完好程度",readConverterExp = "0=完好,1=不完好")
    private String integrityBottle;

    /** 阀门完好程度 */
    @Excel(name = "阀门完好程度",readConverterExp = "0=完好,1=不完好")
    private String valveIntegrity;

    /** 充装结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "充装结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date fillingEndTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setIdNumber(String idNumber)
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber()
    {
        return idNumber;
    }
    public void setWorkPlace(String workPlace)
    {
        this.workPlace = workPlace;
    }

    public String getWorkPlace()
    {
        return workPlace;
    }
    public void setSex(String sex)
    {
        this.sex = sex;
    }

    public String getSex()
    {
        return sex;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setPosts(String posts)
    {
        this.posts = posts;
    }

    public String getPosts()
    {
        return posts;
    }
    public void setBirth(String birth)
    {
        this.birth = birth;
    }

    public String getBirth()
    {
        return birth;
    }
    public void setCylinderNumber(String cylinderNumber)
    {
        this.cylinderNumber = cylinderNumber;
    }

    public String getCylinderNumber()
    {
        return cylinderNumber;
    }
    public void setCylinderStatus(String cylinderStatus)
    {
        this.cylinderStatus = cylinderStatus;
    }

    public String getCylinderStatus()
    {
        return cylinderStatus;
    }
    public void setGasMedia(String gasMedia)
    {
        this.gasMedia = gasMedia;
    }

    public String getGasMedia()
    {
        return gasMedia;
    }
    public void setWeight(String weight)
    {
        this.weight = weight;
    }

    public String getWeight()
    {
        return weight;
    }
    public void setVolume(String volume)
    {
        this.volume = volume;
    }

    public String getVolume()
    {
        return volume;
    }
    public void setBelongingGasStation(String belongingGasStation)
    {
        this.belongingGasStation = belongingGasStation;
    }

    public String getBelongingGasStation()
    {
        return belongingGasStation;
    }
    public void setManufactureDate(String manufactureDate)
    {
        this.manufactureDate = manufactureDate;
    }

    public String getManufactureDate()
    {
        return manufactureDate;
    }
    public void setScrapDate(String scrapDate)
    {
        this.scrapDate = scrapDate;
    }

    public String getScrapDate()
    {
        return scrapDate;
    }
    public void setManufacturingUnits(String manufacturingUnits)
    {
        this.manufacturingUnits = manufacturingUnits;
    }

    public String getManufacturingUnits()
    {
        return manufacturingUnits;
    }
    public void setFillingStation(String fillingStation)
    {
        this.fillingStation = fillingStation;
    }

    public String getFillingStation()
    {
        return fillingStation;
    }
    public void setFillingMedium(String fillingMedium)
    {
        this.fillingMedium = fillingMedium;
    }

    public String getFillingMedium()
    {
        return fillingMedium;
    }
    public void setFillingTime(Date fillingTime)
    {
        this.fillingTime = fillingTime;
    }

    public Date getFillingTime()
    {
        return fillingTime;
    }
    public void setInspectionTime(Date inspectionTime)
    {
        this.inspectionTime = inspectionTime;
    }

    public Date getInspectionTime()
    {
        return inspectionTime;
    }
    public void setNextInspectionTime(Date nextInspectionTime)
    {
        this.nextInspectionTime = nextInspectionTime;
    }

    public Date getNextInspectionTime()
    {
        return nextInspectionTime;
    }
    public void setFillingPressure(String fillingPressure)
    {
        this.fillingPressure = fillingPressure;
    }

    public String getFillingPressure()
    {
        return fillingPressure;
    }
    public void setFillingTemperature(String fillingTemperature)
    {
        this.fillingTemperature = fillingTemperature;
    }

    public String getFillingTemperature()
    {
        return fillingTemperature;
    }
    public void setAnomalies(String anomalies)
    {
        this.anomalies = anomalies;
    }

    public String getAnomalies()
    {
        return anomalies;
    }
    public void setTransportVehicles(String transportVehicles)
    {
        this.transportVehicles = transportVehicles;
    }

    public String getTransportVehicles()
    {
        return transportVehicles;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setNote1(String note1)
    {
        this.note1 = note1;
    }

    public String getNote1()
    {
        return note1;
    }
    public void setNote2(String note2)
    {
        this.note2 = note2;
    }

    public String getNote2()
    {
        return note2;
    }
    public void setNote3(String note3)
    {
        this.note3 = note3;
    }

    public String getNote3()
    {
        return note3;
    }
    public void setNote4(String note4)
    {
        this.note4 = note4;
    }

    public String getNote4()
    {
        return note4;
    }

    public String getIntegrityBottle() {
        return integrityBottle;
    }

    public void setIntegrityBottle(String integrityBottle) {
        this.integrityBottle = integrityBottle;
    }

    public String getValveIntegrity() {
        return valveIntegrity;
    }

    public void setValveIntegrity(String valveIntegrity) {
        this.valveIntegrity = valveIntegrity;
    }

    public Date getFillingEndTime() {
        return fillingEndTime;
    }

    public void setFillingEndTime(Date fillingEndTime) {
        this.fillingEndTime = fillingEndTime;
    }

    public void setNote5(String note5)
    {
        this.note5 = note5;
    }

    public String getNote5()
    {
        return note5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("idNumber", getIdNumber())
            .append("workPlace", getWorkPlace())
            .append("sex", getSex())
            .append("userName", getUserName())
            .append("phone", getPhone())
            .append("posts", getPosts())
            .append("birth", getBirth())
            .append("cylinderNumber", getCylinderNumber())
            .append("cylinderStatus", getCylinderStatus())
            .append("gasMedia", getGasMedia())
            .append("weight", getWeight())
            .append("volume", getVolume())
            .append("belongingGasStation", getBelongingGasStation())
            .append("manufactureDate", getManufactureDate())
            .append("scrapDate", getScrapDate())
            .append("manufacturingUnits", getManufacturingUnits())
            .append("fillingStation", getFillingStation())
            .append("fillingMedium", getFillingMedium())
            .append("fillingTime", getFillingTime())
            .append("inspectionTime", getInspectionTime())
            .append("nextInspectionTime", getNextInspectionTime())
            .append("fillingPressure", getFillingPressure())
            .append("fillingTemperature", getFillingTemperature())
            .append("anomalies", getAnomalies())
            .append("transportVehicles", getTransportVehicles())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("remark", getRemark())
            .append("note1", getNote1())
            .append("note2", getNote2())
            .append("note3", getNote3())
            .append("note4", getNote4())
            .append("note5", getNote5())
            .append("integrityBottle", getIntegrityBottle())
            .append("valveIntegrity", getValveIntegrity())
            .append("fillingEndTime", getFillingEndTime())
            .toString();
    }
}
